Remove a shortcut in gtk_widget_set_focus_child
authorMatthias Clasen <mclasen@redhat.com>
Wed, 25 Oct 2017 22:26:06 +0000 (18:26 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 25 Oct 2017 22:26:06 +0000 (18:26 -0400)
commit46d4deeb1e5c41c9d317235387d227de49718f61
treeb27990866e974015f1ae63cab2a98c4dc4357256
parent0d4bd034c60bbd60df4b1fb7c14f7b91d2f427b9
Remove a shortcut in gtk_widget_set_focus_child

Since focus can now be represented by more than one state,
just looking at the focus_child is no longer sufficient - we
may fail to propagate :focus(visible) if we do so. For now,
just remove the shortcut and always do the work.
gtk/gtkwidget.c